﻿using Baidu.Push.Api.Response;
using System;
using System.Collections.Generic;
using System.Text;

namespace Baidu.Push.Api.Request
{
    public class UpdateAppIoscertRequest : IPushRequest<UpdateAppIoscertResponse>
    {
        public string Name { get; set; }
        public string Description { get; set; }
        public string ReleaseCert { get; set; }
        public string DevCert { get; set; }

        #region IPushRequest

        public string GetApiName()
        {
            return "update_app_ioscert";
        }

        public IDictionary<string, string> GetParameters()
        {
            PushDictionary parameters = new PushDictionary();
            parameters.Add("name", this.Name);
            parameters.Add("description", this.Description);
            parameters.Add("release_cert", this.ReleaseCert);
            parameters.Add("dev_cert", this.DevCert);
            return parameters;
        }

        public void Validate()
        {
        }

        #endregion
    }
}
